import request from '../request'

export function queryFactions(limit: number, page: number) {
    return request.get(`/factions?limit=${limit}&page=${page}`)
}

export function getFaction(contractId: string) {
    return request.get(`/my/contracts/${contractId}`)
}